package eu.horyzont.systemyrozproszone.systemmagazynowy.serwer.dto;

import eu.horyzont.systemyrozproszone.systemmagazynowy.serwer.*;
import eu.horyzont.systemyrozproszone.systemmagazynowy.serwer.entities.Entity;
import java.util.*;

/**
 *
 * @author pawel
 */
public abstract class EntityDTO<T extends Entity> {
    
    private Method method;
    private T entity;
    private List<QueryPredicate> queryPredicates;

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public T getEntity() {
        return entity;
    }

    public void setEntity(T entity) {
        this.entity = entity;
    }

    public List<QueryPredicate> getQueryPredicates() {
        return queryPredicates;
    }

    public void setQueryPredicates(List<QueryPredicate> queryPredicates) {
        this.queryPredicates = queryPredicates;
    }
    
}
